<template>
  <div class="login-body-content">
    <span class="error"></span>
    <input type="text"  v-model="username" placeholder="手机号码"/>
    <div class="message-input">
      <input type="password" v-model="code" placeholder="短信验证码"/>
      <button>获取验证码</button>
    </div>
    <button class="login-btn">登录</button>
    <p class="go_login">没有账号<span>立即注册</span></p>
  </div>
</template>

<script>
    export default {
        name: "LoginMessage",
        data(){
          return{
            username:'',
            code:''
          }
        },
    }
</script>

<style scoped>
.login-body-content{
    margin: 0 auto;
    width: 350px;
    height: auto;
  }
  .login-body-content>input{
    width: 100%;
    height: 45px;
    border-radius: 4px;
    text-indent: 20px;
    font-size: 14px;
    margin-bottom: 16px;
    outline: none;
    border: 1px solid #d9d9d9
  }
  .login-body-content>input:focus{
    border: 1px solid rgb(255,194,16);
  }
  .pwd{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .pwd>p{
    font-size: 12px;
    display: flex;
    align-items: center;
  }
  .no{
    display: inline-block;
    border: 1px solid #d9d9d9;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    margin-right: 10px;
    text-align: center;
    cursor: pointer;
  }
  .yes{
    color: #fff;
    background-color:#ffc210 ;
    border: 1px solid #ffc210;
  }
  .forgetPwd{
    font-size: 14px!important;
    color: #9b9b9b;
    cursor: pointer;
  }
  .login-btn{
    background-color:#ffc210 ;
    height: 45px;
    width: 100%;
    border: 1px solid #ffc210;
    border-radius: 5px;
    margin-top: 30px;
    color: #fff;
    font-size: 16px;
  }
  .go_login{
    padding-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #9b9b9b;
  }
  .go_login>span{
    color:#ffc210 ;
    margin-left: 5px;
    cursor: pointer;
  }
  .message-input{
    position: relative;
  }
  .message-input>input{
    width: 100%;
    height: 45px;
    border-radius: 4px;
    text-indent: 20px;
    font-size: 14px;
    margin-bottom: 16px;
    outline: none;
    border: 1px solid #d9d9d9
  }
.message-input>button{
  position: absolute;
  border-left: 1px solid #9b9b9b;
  width: 120px;
  height: 30px;
  font-size: 16px;
  color: #ffc210;
  background: transparent;
  top:8px;
  right: 1px;
  cursor: pointer;
  }
</style>
